There are two ways to pass a fee in the pricing request:
brokerCriteria.adjustments array and populate it with a fee:
"brokerCriteria": {
"adjustments": [
{
"referenceId": {{reference ID of the adjustment}},
"adj": {{adjustment number}},
"adjName": {{adjustment name}},
...
}
]
}
closingCost.useClosingCost and closingCost.useCompanyDefaultClosingCost to True:
"closingCost": {
"useClosingCost": True,
"useCompanyDefaultClosingCost": True
}